package pl.edu.szlif.mosm.j2melib;

/**
 * Tile Cache interface
 * 
 * @author Adam Morawski
 */
public interface TileCache {

	/**
	 * inserts tile at coordinates
	 */
	public void put(int x, int y, int z, Object tile);

	/**
	 * returns tile from coordinates or null if doesn't exist
	 */
	public Object get(int x, int y, int z);

	/**
	 * returns true if cache contains tile
	 */
	public boolean contains(int x, int y, int z);
}
